package com.by.servlet;

import com.by.http.HttpRequest;
import com.by.http.HttpResponse;

/**
 * @version 1.0
 * @Author 彭彦彬
 * @Date 2025/4/8 17:58
 * @注释
 */

// 自定义 Servlet 接口
public interface Servlet {
    void init() throws Exception;

    void service(HttpRequest request, HttpResponse response) throws Exception;

    void destroy();
}

